<div class='right-cont wrap-score-list' ng-controller='ScoreList'>
	<div class='title'>积分列表<i class='fa fa-spin fa-spinner'></i></div>
	<div class='content'>
		<ul class='nav nav-tabs nav-tabs-a'>
			<li class='active'>
				<a data-target='#list-all' data-toggle='tab'>全部</a>
			</li>
			<li><a data-target='#list-time-7' data-toggle='tab'>近7天</a></li>
			<li><a data-target='#list-time-30' data-toggle='tab'>近30天</a></li>
			<div class='box-btn'>
				<button class='btn btn-primary' ng-click='out_excel()'>导出</button>
			</div>
			<div class='box-search'>
				<div class='input-group'>
					<input type='text' class='form-control' ng-model='keyword'>
					<span class='input-group-btn'>
						<button class='btn btn-success' type='button' ng-click='load_data(1)'>搜索</button>
					</span>
				</div>
			</div>
		</ul>

		<div class='tab-content tab-content-a'>
			<div class='tab-pane fade in active' id='list-all'>
				<table class='table table-list'>
					<tr>
						<td>积分ID<span class='fa fa-sort'></span></td>
						<td>用户ID<span class='fa fa-sort'></span></td>
						<td>用户昵称<span class='fa fa-sort'></span></td>
						<td>积分类型<span class='fa fa-sort'></span></td>
						<td>积分数量<span class='fa fa-sort'></span></td>
						<td>获取时间<span class='fa fa-sort'></span></td>
						<td>状态<span class='fa fa-sort'></span></td>
					</tr>
					<tr ng-repeat='item in listT0.list'>
						<td>{{item.id}}</td>
						<td>{{item.user_id}}</td>
						<td>{{item.nickname}}</td>
						<td>{{item.goods_type_text}}</td>
						<td>{{item.score}}</td>
						<td>{{item.create_date}}</td>
						<td>
							<span class='label label-primary' ng-if='item.score >= 0'>
								{{item.score_text}}
							</span>
							<span class='label label-warning' ng-if='item.score < 0'>
								{{item.score_text}}
							</span>
						</td>
					</tr>
				</table>
			</div>
			<div class='tab-pane fade' id='list-time-7'>
				<table class='table table-list'>
					<tr>
						<td>积分ID<span class='fa fa-sort'></span></td>
						<td>用户ID<span class='fa fa-sort'></span></td>
						<td>用户昵称<span class='fa fa-sort'></span></td>
						<td>积分类型<span class='fa fa-sort'></span></td>
						<td>积分数量<span class='fa fa-sort'></span></td>
						<td>获取时间<span class='fa fa-sort'></span></td>
						<td>状态<span class='fa fa-sort'></span></td>
					</tr>
					<tr ng-repeat='item in listT1.list'>
						<td>{{item.id}}</td>
						<td>{{item.user_id}}</td>
						<td>{{item.nickname}}</td>
						<td>{{item.goods_type_text}}</td>
						<td>{{item.score}}</td>
						<td>{{item.create_date}}</td>
						<td>
							<span class='label label-primary' ng-if='item.score >= 0'>
								{{item.score_text}}
							</span>
							<span class='label label-warning' ng-if='item.score < 0'>
								{{item.score_text}}
							</span>
						</td>
					</tr>
				</table>
			</div>
			<div class='tab-pane fade' id='list-time-30'>
				<table class='table table-list'>
					<tr>
						<td>积分ID<span class='fa fa-sort'></span></td>
						<td>用户ID<span class='fa fa-sort'></span></td>
						<td>用户昵称<span class='fa fa-sort'></span></td>
						<td>积分类型<span class='fa fa-sort'></span></td>
						<td>积分数量<span class='fa fa-sort'></span></td>
						<td>获取时间<span class='fa fa-sort'></span></td>
						<td>状态<span class='fa fa-sort'></span></td>
					</tr>
					<tr ng-repeat='item in listT2.list'>
						<td>{{item.id}}</td>
						<td>{{item.user_id}}</td>
						<td>{{item.nickname}}</td>
						<td>{{item.goods_type_text}}</td>
						<td>{{item.score}}</td>
						<td>{{item.create_date}}</td>
						<td>
							<span class='label label-primary' ng-if='item.score >= 0'>
								{{item.score_text}}
							</span>
							<span class='label label-warning' ng-if='item.score < 0'>
								{{item.score_text}}
							</span>
						</td>
					</tr>
				</table>
			</div>
		</div>
		<div class='box-page' ng-bind-html='pageHtml'></div>
	</div>
</div>